home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 34 / Mac Magazin and MacEasy Magazine CD - Issue 34.iso / Office / trueTools / read me's / spider < prev    next >
Text File  |  1996-11-29  |  2KB  |  89 lines

  1. spider
  2.  
  3. spider lets you weave your web pages in HyperCard.
  4. You create special, simple stacks in HyperCard
  5. and then convert them to web pages.
  6.  
  7. The spider turns each card of the stack into a html file
  8. with a clickable map and an associated gif or jpeg image.
  9.  
  10. spider requires HyperCard 2.3 or later, the truePrint stack,
  11. AppleScript, and the freeware program clip2gif by Yves Piguet.
  12.  
  13. If you have HyperCard 2.1, just use it for creating the stack
  14. and use HyperCard Player 2.3 or later (available free from Apple
  15. on the internet) to generate the web pages.
  16.  
  17. spider includes a converter from styled text to html.
  18. It converts some special characters to html and recognizes
  19. bold and italic text. It is very slow, but was good enough
  20. for converting "read me" files like these.
  21.  
  22.  
  23. How it works
  24.  
  25. The spider goes from card to card and does the following
  26. on each card:
  27.  
  28. First it sends mouseUp messages to all buttons
  29. and fields to find out where they lead to.
  30.  
  31. Then the spider uses this information to generate
  32. a html file and a map file containing the links.
  33. (Both client and server side image maps are created).
  34.  
  35. Finally it converts the card picture to a jpeg or a gif file
  36. (using AppleScript and the freeware program clip2gif).
  37.  
  38.  
  39. How to use it
  40.  
  41. Create a stack...
  42.  
  43. Links within the stack are like that (script of buttons and fields):
  44.  
  45.   mouseUp
  46.     go next card
  47.   end mouseUp
  48.  
  49. Links to other web sites, e-mail, etc. are like that:
  50.  
  51.   on mouseUp
  52.     return "http://www.mirror.apple.com"
  53.   end mouseUp
  54.  
  55. Give your cards names; these will be used as filenames
  56. (spaces will be omitted).
  57.  
  58. By default an interlaced gif file is generated.
  59. If you want to generate another graphic file,
  60. put one of the following into the first line of the card script:
  61.  
  62.   -- gif noninterlaced
  63.  
  64.   -- jpeg very low
  65.   -- jpeg low
  66.   -- jpeg normal
  67.   -- jpeg high
  68.   -- jpeg very high
  69.  
  70. The options for the jpeg's denote the resulting image quality.
  71.  
  72.  
  73. When you are finished, open the spider stack.
  74. This will make sure that the stack is "in use" so that
  75. the control key combinations for weaving will work.
  76.  
  77. You can set the format for the text files that the
  78. spider creates: Mac, Unix or DOS.
  79.  
  80. Then go back to your stack and press ctrl-opt-w to start
  81. weaving the stack. (you can stop the conversion anytime by
  82. pressing the mouse down.)
  83.  
  84. The spider will create a folder that has the name of your stack
  85. with "ƒ" appended to it and place all the created files into it.
  86.  
  87. If you change a  card later on, you can convert it
  88. by pressing ctrl-w.
  89.